home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / bggen.1 < prev    next >
Text File  |  1995-07-25  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.      bbbbggggggggeeeennnn((((llll))))                  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                  bbbbggggggggeeeennnn((((llll))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           bggen - generates colored backgrounds on X11 displays
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           bbbbggggggggeeeennnn [-w width] [-s size] [-b bits] r1 g1 b1 [r2 g2 b2 ...
  13.           rn gn bn]
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.           bbbbggggggggeeeennnn is a program that generates a width-pixel wide by
  17.           size-pixels high vertical stripe.  The top of the stripe is
  18.           in color (r1,g1,b1), and the bottom of the stripe is in
  19.           color (rn,gn,bn).  Intermediate colors are interpolated
  20.           between these colors.  If you specify more than 2 colors,
  21.           the stripe passes through all the specified colors, in the
  22.           order specified.
  23.  
  24.           The '-b' option specifies the number of significant bits in
  25.           the (output) color specifications.  It must range between 1
  26.           and 8, inclusive.  Use values less than 8 (the default) to
  27.           limit color use by increasing the color granularity.
  28.  
  29.           Values for 'r', 'g', and 'b' should range between 0 and 255,
  30.           inclusive.  0 means 'off', and 255 means 'fully on'.
  31.  
  32.           bbbbggggggggeeeennnn doesn't actually affect your background directly.
  33.           bbbbggggggggeeeennnn merely generates a small PPM (Portable Pixmap Format)
  34.           datafile that XV can read and display.
  35.  
  36.           To use bbbbggggggggeeeennnn, you should pipe its output into an XV command,
  37.           such as: "xv -root -quit -slow24"
  38.  
  39.           The default 'size' is 1024 pixels, which should be as tall
  40.           as your display. If your display is taller than that, you
  41.           should specify its actual height, otherwise you will get a
  42.           bizarre repeating effect, that you probably didn't want.
  43.           Note:  If you specify small values of '-s', you can get some
  44.           neat effects.
  45.  
  46.           The '-w' argument has been added to improve the performance
  47.           of various stippling algorithms (as in XV).  More
  48.           information to work with, and such.  Try using '-w 16' on
  49.           these command lines to see what is meant.
  50.  
  51.      TTTTRRRRYYYY TTTTHHHHEEEESSSSEEEE
  52.           Light Blue to Dark Blue
  53.                bggen 100 100 255  50 50 150  | xv -ro -q -slow24 -
  54.           RGB Rainbow
  55.                bggen 0 0 255  0 255 0  255 0 0 | xv -ro -q -slow24 -
  56.           Green Cylinders
  57.                bggen 0 0 0  0 255 0  0 0 0 -s 128 | xv -ro -q -slow24 -
  58.           Blue to Magenta
  59.                bggen 0 0 255  200 0 100 | xv -ro -q -slow24 -
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 3/16/94)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      bbbbggggggggeeeennnn((((llll))))                  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV                  bbbbggggggggeeeennnn((((llll))))
  71.  
  72.  
  73.  
  74.           Full Rainbow
  75.                bggen 0 0 255  0 255 255  0 255 0  255 255 0  255 0 0 | xv -ro -q -slow24 -
  76.           Repeating Rainbow
  77.                bggen 0 0 255  0 255 255  0 255 0  255 255 0  255 0 0
  78.                      255 0 255  0 0 255 -s 256 | xv -ro -q -slow24 -
  79.  
  80.           It'd probably be nice if the program used some X calls to
  81.           determine screen size.  It'd also probably be nice if the
  82.           program could take colors by 'name', and also by hexadecimal
  83.           value.
  84.  
  85.      AAAAUUUUTTTTHHHHOOOORRRR
  86.           John Bradley  -  bradley@cis.upenn.edu
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 3/16/94)
  130.  
  131.  
  132.  
  133.